package com.cn.service.server.mc.Impl;

import com.cn.bean.pojo.mc.K3FlXx;
import com.cn.mapper.dao.db1.mc.K3WlXxSQDao;
import com.cn.service.server.mc.K3WlXxSQServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class K3WlXxSQServerImpl implements K3WlXxSQServer {
    private final K3WlXxSQDao k3WlXxSQDao;

    @Autowired(required=false)
    public K3WlXxSQServerImpl(K3WlXxSQDao k3WlXxSQDao) {

        this.k3WlXxSQDao = k3WlXxSQDao;
    }

    @Override
    public List<K3FlXx> selectK3FlXxSQAll(int page, int limit, String djBh, String k3Mc, String lx) {
        return k3WlXxSQDao.selectK3FlXxSQAll(page,limit,djBh,k3Mc,lx);
    }

    @Override
    public int upDateK3FlXxShZt(String djBh, String sqrGh, String sqrXm, String sqrBm, String sqSj) {
        return k3WlXxSQDao.upDateK3FlXxShZt(djBh,sqrGh,sqrXm,sqrBm,sqSj);
    }


    @Override
    public K3FlXx selectK3FlXxDjBh(String djBh) {
        return k3WlXxSQDao.selectK3FlXxDjBh(djBh);
    }

    @Override
    public int upDateK3FlXxShZt1(int zt, String djBh, String sqrGh, String sqrXm, String sqrBm, String sqSj) {
        return k3WlXxSQDao.upDateK3FlXxShZt1(zt,djBh,sqrGh,sqrXm,sqrBm,sqSj);
    }


    @Override
    public int upDateK3FlXxShZt10(String djBh, String sqrGh, String sqrXm, String sqrBm, String sqSj) {
        return k3WlXxSQDao.upDateK3FlXxShZt10(djBh,sqrGh,sqrXm,sqrBm,sqSj);
    }

    @Override
    public int addK3FlXxInseart(K3FlXx k3FlXx) {
        return k3WlXxSQDao.addK3FlXxInseart(k3FlXx);
    }

    @Override
    public int upDateK3FlXxUpdate(K3FlXx k3FlXx) {
        return k3WlXxSQDao.upDateK3FlXxUpdate(k3FlXx);
    }

    @Override
    public Integer getK3WlXxSQDdBhZh(String djBh, String zh) {
        return k3WlXxSQDao.getK3WlXxSQDdBhZh(djBh,zh);
    }
}
